﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars;
using System.Linq;

using QuanLyThuVien.DAO;

namespace QuanLyThuVien.BUS
{
    class ThanhLyBUS
    {
        public static void Them(ThanhLy TL)
        {
            ThanhLyDAO.Them(TL);
        }

        public static DataGridView GetThanhLy(DateTime NTL, int MaNhanVien)
        {
           return ThanhLyDAO.GetThanhLy(NTL,MaNhanVien);
        }


        public static void Xoa(ThanhLy TL)
        {
            ThanhLyDAO.Xoa(TL);
        }

        public static void Sua(ThanhLy TL)
        {
            ThanhLyDAO.Sua(TL);
        }

    }
}
